package com.jason.ladder.dao;

import java.util.List;

import com.jason.ladder.model.User;

/**
 * User Data Access Object (GenericDao) interface.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface UserDao  {

   
    /**
     * Gets a list of users ordered by the uppercase version of their username.
     *
     * @return List populated list of users
     */
    List<User> getUsers();

    
	List<User> getUsersByRank();

	Integer getNextRank();


	User getUser(String userId);
	User getUser(Integer userId);


	public User save(User user);


	void remove(User user);
    
}
